package com.javaweb.web.po;

<#if importOut != "">
<#list importOut?split(",") as import>
${import}
</#list>
</#if>
import com.javaweb.annotation.sql.Column;
import com.javaweb.annotation.sql.Table;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Table(name="${tableName}")
public class ${className} {

<#list propertyList as pl>
    @Column(name="${pl.tableColumn}"<#if pl.key == true>,pk=true</#if>,columnDesc="${pl.tableColumnDesc}")
    private ${pl.javaType} ${pl.javaPropertyName};

</#list>
<#list propertyList as pl>
    public static final String ${pl.javaPropertyName}Column = "${pl.tableColumn}";

</#list>
}
